package org.jeecg.modules.basic.entry.util;

import org.jeecg.modules.basic.electronic.service.ILwgyInoutElectronicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public class DkUtils {

    public static String DkURL;

    public static String DkCdURL;

    public static String DLDkURL;

    @Autowired
    private ILwgyInoutElectronicService dkService;


    @PostConstruct
    public void init() {
        DkURL = dkService.getDkinterface();
        DkCdURL = dkService.getInterfaceAddress();
        DLDkURL = dkService.getInterfaceAddressGl();
    }

}
